package com.example.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.AllArgsConstructor;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
* <p>
* 在职证明表
* </p>
*
* @author wsl
* @since 2022-05-26
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("incumbent_certify")
@ApiModel(value = "IncumbentCertify对象", description = "在职证明表")
public class IncumbentCertify implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键编号")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("标题")
    private String ictitle;

    @ApiModelProperty("流程编号")
    private String processId;

    @ApiModelProperty("申请人员编号")
    private Integer empId;

    @ApiModelProperty("员工姓名")
    private String ename;

    @ApiModelProperty("电话")
    private String phone;

    @ApiModelProperty("岗位名")
    private String posname;

    @ApiModelProperty("申请日期")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "Asia/Shanghai")
    private Date appDate;

    @ApiModelProperty("部门名")
    private String dname;

    @ApiModelProperty("部门编号")
    private Integer deptId;

    @ApiModelProperty("申请原由")
    private String cause;

    @ApiModelProperty("职务编号")
    private Integer positionId;

    @ApiModelProperty("身份证号码")
    private String idCard;

    @ApiModelProperty("模板")
    private String template;

    @ApiModelProperty("当前状态")
    private Integer status;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;


}
